package me.itsoo.artemis.framework.core.enumer;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Ev
 *
 * @author zxy
 * @version 0.0.1
 * @since 2023/5/1
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Ev {

    /**
     * 编码
     *
     * @return int
     */
    int code();

    /**
     * 展示名称
     *
     * @return String
     */
    String label();

}
